package com.sgb.kjwl.model.entity.self;

import com.contrarywind.interfaces.IPickerViewData;

/**
 * Describe:    车队（列表展示功能类）
 * Author:  yangLei
 * Date:    2021/10/12
 */
public class MotorcadeSimpleEntity implements IPickerViewData {
    private String motorcadeName;
    private String motorcadeNo;
    private String type;//类型 1 自营 2 挂靠

    /**
     * 是否选中
     */
    private boolean isSelect;

    public MotorcadeSimpleEntity(String name) {
        this.motorcadeName = name;
    }

    public MotorcadeSimpleEntity() {
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    public String getMotorcadeName() {
        return motorcadeName;
    }

    public void setMotorcadeName(String motorcadeName) {
        this.motorcadeName = motorcadeName;
    }

    public String getMotorcadeNo() {
        return motorcadeNo;
    }

    public void setMotorcadeNo(String motorcadeNo) {
        this.motorcadeNo = motorcadeNo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String getPickerViewText() {
        return motorcadeName;
    }
}
